package org.twdata.pipeline;

import java.util.Map;

/**  Defines the interface to use to retrieve pipelines */
public interface PipelineFactory {

    /**
     *  Gets the named pipeline
     *
     *@param  name  The name
     *@return       The pipeline 
     */
    public Pipeline getPipeline(String name);


    /**
     *  Gets all pipelines keyed by their name
     *
     *@return    The pipelines 
     */
    public Map getPipelines();

}

